<script setup lang="ts">
import MaterialItem from "./MaterialItem.vue";
import { Material } from "../../index";

defineProps<{ materials: Material[] }>();
</script>

<template>
  <div v-for="material in materials" :key="material.id" class="my-16">
    <MaterialItem :material="material" />
  </div>
</template>

<style scoped></style>
